﻿namespace Batman.Cms.Core.Models
{
    public class UpYunConfiguration
    {
        /// <summary>
        /// 操作员账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 操作员密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 数据保存的命名空间
        /// </summary>
        public string Bucketname { get; set; }

        /// <summary>
        /// 访问的域名
        /// </summary>
        public string Domain { get; set; }

        public UpYunConfiguration() { }

        public UpYunConfiguration(string account, string password, string buckectname, string domain)
        {
            Account = account;
            Password = password;
            Bucketname = buckectname;
            Domain = domain;
        }
    }
}
